﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MySql.Data.MySqlClient;

namespace AccessConfigurator.dao
{
    public class DatabaseConnection
    {
        public static MySqlConnection getConnection()
        {
            // SqlConnection dbconn = new SqlConnection("Data Source=.\\SQLEXPRESS;AttachDbFilename=|DataDirectory|SEATSnow.mdf;Integrated Security=True;User Instance=True");

            MySqlConnection dbconn = new MySqlConnection("datasource=localhost;port=3306;Database=sam-edu;username=root;password=");
            return dbconn;
        }
    }
}
